package com.jacky.api.genericity;

public class Test01 {

}

interface Container<T>{
    void add(T t);
    T get(int i);
}

class ContainerImpe implements Container<String>{

    @Override
    public void add(String s) {

    }

    @Override
    public String get(int i) {
        return null;
    }
}

interface Task<Par,Res>{
    Res execute(Par par);
}

class TaskImpl implements Task<String[],Integer>{
    @Override
    public Integer execute(String[] strings) {
        return null;
    }
}
